<title>算法分析2</title>

<div class="page animation-fade">
    <div class="page-header page-header-bordered">
        <h1 class="page-title">算法分析2</h1>
        <div class="page-header-actions" style="padding-top: 20px;">
            <select class="form-control " id="select" name="select" data-plugin="select2"
                    style="width: 200px;display: inline-block">

            </select>
            <button type="button" class="btn btn-icon btn-info collapsed" data-toggle="collapse"
                    data-target="#collapseFilter" aria-expanded="false" aria-controls="collapseFilter">
                <i class="icon fa-filter"></i>
            </button>
        </div>
    </div>

    <div class="page-content">
        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4  class="example-title">订单数据</h4>
                <a href="http://lpp.glc360.com:8080/network/supply/order/list">
                <div class="example">
                    <div id="state1" class="step error">
                        <span class="step-number">1</span>
                        <div class="step-desc">
                            <span class="step-title">上传订单数据</span>
                            <p>订单数据状态</p>
                        </div>
                    </div>
                </div>
                </a>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">备选点</h4>
                <a href="http://lpp.glc360.com:8080/network/supply/candidate">
                <div class="example">
                    <div id="state2" class="step error">
                        <span class="step-number">2</span>
                        <div class="step-desc">
                            <span class="step-title">上传备选点</span>
                            <p>备选点状态</p>
                        </div>
                    </div>
                </div>
                </a>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">运输属性数据</h4>
                <a href="http://lpp.glc360.com:8080/network/supply/transport/property">
                <div class="example">
                    <div  id="state3" class="step error">
                        <span class="step-number">3</span>
                        <div class="step-desc">
                            <span class="step-title">上传运输属性</span>
                            <p>运输属性状态</p>
                        </div>
                    </div>
                </div>
                </a>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">数据检查</h4>
                <div class="example">
                    <div id="state4" class="step error">
                        <span class="step-number">4</span>
                        <div class="step-desc">
                            <span class="step-title">上传数据检查</span>
                            <p>检查状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">上传数据处理</h4>
                <div class="example">
                    <div id="state5" class="step error">
                        <span class="step-number">5</span>
                        <div class="step-desc">
                            <span class="step-title">开始数据处理</span>
                            <p>数据处理状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">开始算法</h4>
                <div class="example">
                    <div id="state6" class="step error">
                        <span class="step-number">6</span>
                        <div class="step-desc">
                            <span class="step-title">开始算法</span>
                            <p>算法状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">算法结果处理</h4>
                <div class="example">
                    <div id="state7" class="step error">
                        <span class="step-number">7</span>
                        <div class="step-desc">
                            <span class="step-title">开始算法结果处理</span>
                            <p>结果状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">目前结果</h4>
                <div class="example">
                    <div id="state8" class="step error">
                        <span class="step-number">8</span>
                        <div class="step-desc">
                            <span class="step-title">查看目前结果</span>
                            <p>结果状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-4 col-md-6">
            <div class="example-wrap">
                <h4 class="example-title">优化结果</h4>
                <div class="example">
                    <div id="state9" class="step error">
                        <span class="step-number">9</span>
                        <div class="step-desc">
                            <span class="step-title">查看优化结果</span>
                            <p>结果状态</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>



    </div>
</div>

<script src="/static/public/vendor/matchheight/jquery.matchHeight.min.js"></script>
<script type="text/javascript">

</script>

<script type="text/javascript">
    $(function () {
        getState();
    });
    function getState() {
        $.ajax({
            url: "#springUrl('/network/supply/algorithm1/getAllData')",
            data: {"nowold":"1"},
            type: "post",
            success: function (text) {
                var d = JSON.parse(text);
                if (d.success && d.data) {
                    var state=d.data.state;
                    for(var i=1;i<=state;i++){
                        var state1="state"+i;
                        $("#"+state1).removeClass("step error");
                        $("#"+state1).addClass("step done");
                    }
                }else{
                    toastr.error(d.message);
                }
            },
        });

    }


</script>

